Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> div { margin: 20px; width: 150px; padding: 10px; height: 70px; border: 2px solid black; outline: 2px solid red; outline-offset: 15px; } </style> </head> <body> <p><b>Note:</b> Internet Explorer does not support the outline-offset property.</p> <div>This div has an outline border 15px outside the border edge.</div> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss3_outline-offset by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:56 GMT --> </html>
Result:
Try it Yourself - © w3schools.com